﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Super64
{
    public sealed class GameListEntry
    {
        private string m_Path;
        private string m_Name;
        private string m_GameMaker;
        private DateTime m_PublishDate;
        private string m_Notes;
        private int m_Hash;
        private string m_UriPath;

        public GameListEntry(string path, string uriPath, int hash)
        {
            m_UriPath = uriPath;
            m_Path = path;
            m_Hash = hash;
            m_Name = "Game Name";
            m_Notes = "";
            m_GameMaker = "Unknown Maker";
            m_PublishDate = new DateTime(1997, 1, 1);
        }

        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        public string Maker
        {
            get { return m_GameMaker; }
            set { m_GameMaker = value; }
        }

        public DateTime Date
        {
            get { return m_PublishDate; }
            set { m_PublishDate = value; }
        }

        public string Notes
        {
            get { return m_Notes; }
            set { m_Notes = value; }
        }

        public string FilePath
        {
            get { return m_Path; }
        }

        public int HashCode
        {
            get { return m_Hash; }
        }

        public string URIPath
        {
            get { return m_UriPath; }
        }
    }
}
